seslCreate

@NonNull
open fun seslCreate(@NonNull forParent: @NonNull ViewGroup, sensitivity: Float, @NonNull cb: @NonNull ViewDragHelper.Callback): @NonNull ViewDragHelper(source)

Factory method to create a new ViewDragHelper. This method also disables mIsUpdateOffsetLR

Return

a new ViewDragHelper instance

Parameters

forParent

Parent view to monitor

sensitivity

Multiplier for how sensitive the helper should be about detecting the start of a drag. Larger values are more sensitive. 1.0f is normal.

cb

Callback to provide information and receive events